package com.bdqn.Service.IdMapping.impl;

import com.bdqn.Service.IdMapping.IdMappingService;
import com.bdqn.entity.IdMapping;
import com.bdqn.mapper.IdMapping.IdMappingMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class IdMappingServiceImpl implements IdMappingService {
    @Autowired
    private IdMappingMapper mapper;

    @Override
    public boolean deleteIdM(Integer id) {
        return mapper.deleteIdM(id);
    }

    @Override
    public boolean deleteByStId(int id) {
        return mapper.deleteByStId(id);
    }

    @Override
    public boolean Update(IdMapping idMapping) {
        return mapper.Update(idMapping);
    }

    @Override
    public boolean UpdateId(IdMapping idMapping) {
        return mapper.UpdateId(idMapping);
    }

    @Override
    public boolean UpdateById(IdMapping idMapping) {
        return mapper.UpdateById(idMapping);
    }

    @Override
    public boolean UpdateByAppId(int id) {
        return mapper.UpdateByAppId(id);
    }
}
